package com.teufandsub.socialproximity.controller;

/**
 * @author Bastien Mathias <bastienmathias@gmail.com>
 * @author Antoine Teuf <antoine.teuf@gmail.com>
 * @version 1.0
 * @since 2013-05-19
 * 
 * The Constants Class.
 */

public class Constants {
	
	// Usual Constants 
	public static final String APP_NAME     = "Social Proximity";	
	public static final String SENDER_ID    = "27185132355"; //Used for GCM stuff
	public static final String PACKAGE_NAME = "com.teufandsub.socialproximity";
	public static final String PREFS_NAME   = "SocialProxPreferences";
	
	
	//Authentication code :
	public static final int CODE_SESSION_INVALID = -2;
	public static final int CODE_ERROR           = -1;
	public static final int CODE_LOGIN_OKAY      = 0;
	public static final int CODE_WRONG_PASSWORD  = 1;
	public static final int CODE_WRONG_USERNAME  = 2;
	public static final int CODE_SESSION_VALID   = 4;

	
	//Response fields name :
	public static final String SERVICE_NAME_NAME = "service";
	public static final String CODE_NAME         = "code";
	public static final String SESSIONID_NAME    = "sessionid";
	
	//Manage Friend	
	public static final String ACTIONCODE_NAME     = "actionCode";
	public static final String USERNAMELINK_NAME   = "usernameLink";
	public static final String TARGETNAMELINK_NAME = "targetnameLink";
	public static final String FRIENDLIST_NAME     = "friendList";
	public static final String BLACKLIST_NAME      = "blackList";
	public static final String WAITINGLIST_NAME    = "waitingList";
	public static final int ADDFRIENDLINK          = 0;
	public static final int REMOVEFRIENDLINK       = 1;
	public static final int APPROVEFRIENDLINK      = 2;
	public static final int ADDBLACKLINK           = 3;
	public static final int REMOVEBLACKLINK        = 4;
	public static final int CODE_REQUESTVALID      = 0;
	
	//Interests
	public static final String TARGETNAMESLINK_NAME = "targetnamesLink";
	public static final String LISTOWNERNAME_NAME     = "listOwnerName";
	public static final String ARELINKEDINTEREST_NAME = "areLinked";
	public static final String INTERESTLIST_NAME      = "interestList";
	public static final int ADDINTERESTLINK = 0;
	public static final int REMOVEINTERESTLINK = 1;
	

}
